package com.ct.gd.passport.view.consult;

import java.util.Arrays;
import java.util.List;

import com.ct.gd.passport.R;
import com.ct.gd.passport.common.CTApp;
import com.ct.gd.passport.domain.AdviceInfo;
import com.ct.gd.passport.view.RootCatalogFragment;

public class ConsultTagFragment extends RootCatalogFragment<ConsultType> {

	@Override
	protected List<ConsultType> load() {
		ConsultType lastestConsult = new ConsultType(AdviceInfo.ADVICE_NEW_LIST, CTApp.getInstance().getString(R.string.advice_list_new));
		ConsultType myConsult = new ConsultType(AdviceInfo.ADVICE_MY_LIST, CTApp.getInstance().getString(R.string.advice_list_my));
		return Arrays.asList(lastestConsult, myConsult);
	}

	@Override
	protected String getDisp(ConsultType root) {
		return root.getDisp();
	}
	
}
